<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var v1 = 1;
			var v2 = "1";
			var v2new = new String("1");
			var v3 = true;
			var v3new = new Boolean(true);
			var v4;
			var v5 = function(){
				var b=1;
				
			};
			var v6 = new Object();
			/******************/
			//var v7=();
			var v8=[];
			var v9={};
			/*********************************************/
			var a = 1;// var a;  a=1;
			console.log(a);   // 1
			var fun = function(){
				var a;
				console.log(a);  // 1
				//var a=2;   
				a=2;
				console.log(a);			//2	
			}();
			console.log(a);//1
			console.log(b);//error
		</script>
	</body>
</html>
